package org.oneblog.data.service;

import java.util.List;

import org.oneblog.data.bean.ArticleAlbum;
import org.oneblog.data.query.AlbumQuery;

public interface IArticleAlbumSolrService {

	int upsertAlbum(ArticleAlbum album);
	
	ArticleAlbum getArticleAlbum(String id);
	
	List<ArticleAlbum> getAlbums(AlbumQuery query);
	
	int updateAlbumDefunct(String id, int defunct) ;
}
